package com.tallysystem.entity;

import java.sql.Date;

public class Tallys {
	
	private Double debit;
	private String spendtype;
	private String remarks;
	private Date spendtime;
	private Date clock;
	private Integer tid;
	private String deleteReason;
	private String updateReason;
	
	
	
	@Override
	public String toString() {
		return "Tallys [debit=" + debit + ", spendtype=" + spendtype + ", remarks=" + remarks + ", spendtime="
				+ spendtime + ", clock=" + clock + ", tid=" + tid + ", deleteReason=" + deleteReason + ", updateReason="
				+ updateReason + "]";
	}
	
	
//	public Tallys(Double debit, String spendtype, String remarks, String spendtime, String clock, int tid) {
//		super();
//		this.debit = debit;
//		this.spendtype = spendtype;
//		this.remarks = remarks;
//		this.spendtime = spendtime;
//		this.clock = clock;
//		this.tid = tid;
//	}
	

	public Tallys(int tid) {
		super();
		// TODO Auto-generated constructor stub
	};
	public Tallys(Double debit, String spendtype, String remarks, Date spendtime, Date clock, Integer tid,
			String deleteReason, String updateReason) {
		super();
		this.debit = debit;
		this.spendtype = spendtype;
		this.remarks = remarks;
		this.spendtime = spendtime;
		this.clock = clock;
		this.tid = tid;
		this.deleteReason = deleteReason;
		this.updateReason = updateReason;
	}


	public Tallys() {
		super();
		// TODO Auto-generated constructor stub
	};
	
	public Integer getTid() {
		return tid;
	}
	public void setTid(Integer tid) {
		this.tid = tid;
	}
	public Double getDebit() {
		return debit;
	}
	public void setDebit(Double debit) {
		this.debit = debit;
	}
	public String getSpendtype() {
		return spendtype;
	}
	public void setSpendtype(String spendtype) {
		this.spendtype = spendtype;
	}
	public String getRemarks() {
		return remarks;
	}
	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}
	public Date getSpendtime() {
		return spendtime;
	}
	public void setSpendtime(Date spendtime) {
		this.spendtime = spendtime;
	}
	public Date getClock() {
		return clock;
	}
	public void setClock(Date clock) {
		this.clock = clock;
	}
	public String getDeleteReason() {
		return deleteReason;
	}
	public void setDeleteReason(String deleteReason) {
		this.deleteReason = deleteReason;
	}
	public String getUpdateReason() {
		return updateReason;
	}
	public void setUpdateReason(String updateReason) {
		this.updateReason = updateReason;
	}
	


}
